significant changes

pretty much redid everything, going for a more-or-less standard REST
system now