added active record, did way too much without commits, basically... ever...

...ything except front-end ui.