client refactoring and gui creation
start gui design: menu