Renames files to be a bit more intuitive
Refactors server code to auto-add event emmitters.
Refactors server-side code to an exportable module
Add most recent code. Blind commit. Didn't look at this.