Code cleanup and optimization

* Loading game through game screens
* More networking code added