change some of old database methods from datamapper to ones for activerecord. change color in table to colour (the WRONG spelling, jeesh)