A modular system may include a plurality of magnets that may be provided to self-align a casing with an accessory. Self-alignment of the casing and the accessory may provide a secure connection of the casing with the accessory. At least one detent and at least one locking arm may mate and lock the casing against the accessory in a mounted position. The at least one detent and the at least one locking arm may unlock in an insertion position. Self-alignment may occur when a first set of magnets attracts a second set of magnets in which opposite polarities attract and automatically initiate movement of the casing towards the accessory.