Changed directory structure and added postgres for deployment