Implementation of a fire safety system, access control and video surveillance