Changing directory structure and adding rack for heroku deploy.