changed test db to pg
added a check for empty lines in the input
added 12factor for heroku
words are now listed in random order
minor tweeks on view
added some padding and fixed multiline definition issue