use relative imports
some roadmappy stuff
add a number of tests, and some minor improvements