WIP
Refactor applications to add easily new methods to call
Connect the router to the server