changed the gem sqlite3 so that it is only for development purposes
changing db to pg in production
displays most recent pictures on the index page
display pictures older than one month