Began to start to implement server-side stuff, but i suspect i will need to redo a lot of the code in order to get this as it was actually intended...