refactored directory structure for heroku