added sql install script, first round of database migration scripts, scaffold controller and active record controllers.