config modbus server constants in initializer file. Refactorized API files and routes
Put markers for all the emergencies open. Refactorized routes.
close emergency when disspears via modbus.