Separated models and cleaned up server

Updated dist for client
Introduced better logging
updated routing client and server side
Merge pull request #1 from krackergraham/dev

Separated models and cleaned up server