fixing the production mode
less warnings
run the shutdown function on SIGTERM, too
db schema added
documentation corrected