add gem activerecord and sqlite3
require db module
database connection fixed