Refactored some things and added a server updater.