Reorganized the Backend.java and started to implement the MessageManager.java