Changed some structures

Improved the networking structure, and removed old game.js. It is not
located in config.js