Added compression to the save, also added timedEvents to be loaded. Also changed gemfile to use pg instead of sqlite, for heroku