Fixed Server Bugs, added offline mode