Added command line arguments to server script

Can now specify postgres details when running up server.
Adding in Alex's server changes
Merge pull request #23 from dannybutler/master

Added command line arguments to server script