Add class for main loop
Move main client loop in clientmain class
Move console in menu
Merge branch 'feature/mainLoop' into develop