Whole server communication done

Bugs with alarms not calling the alarm receiver have to be fixed