Move Server to own file and correctly set up application structure. Also fix sublime project build