Removed old and mostly ineffectual test module.
Updated metadata format.
Added input verification.
Replaced print statements with logging.
Writing tests and fixing bugs.
Wrote some more 'tests'.