Adding simplejson to req
Chaning to use sqlite3 database