Fix a few issues with the projects config file and fix #27

Also makes sure the SERVER_CONFIG_FILE variable is set. 

Fixes #27.