setup procfile for new db structure
set base directory for file access in flask
added injector for logging and db access for socket calls