added tests for ajax handlers, dropped a bunch of stuff from models that we don't need right now, YAGNI and all that jazz