changed to top level module, added setup
added some more features from schema, and nearly its complete test suite
updated copyrights for tests