Making database and html directories configurable
Updating docs. Adding basic upstart script