Added some unfixed connection code and an FPS meter
Refactored everything
Massive refactoring to look more OOP