add separate routing files
merged in message changes
Cleanup the server side code a bit. Database stuff could still use work, as noted in issue 7.  This should resolve issue #9 as well.