added active record, did way too much without commits, basically... everything except front-end ui.