fixes build script to create db and start application
adds check for nil
Merge pull request #99 from dylan8902/development

Development