refractor commit in Server.java to a CommitController class, started implementing structure for sending lists to the client