added gamemanager stuffs, reorganized scopes
cleanup, mvoed to localhost