creates database with AR

finished merging all the front end and back end stuff, killed data mapper.