Finished middleware file creation and made Procfile for heroku.