fixing the code for heroku - attepmt 1
heroku file download support - attempt 2
clean up, front-end improvements, heroku test