added server setup script
bugfixes
Merge pull request #1 from ewilson/server

Server