small refactor
added MANIFEST
added tests