First commit
Cleanup & adding tests.
Example config for tests