removed some stupid syntax errors
prepared setup package and tests
added test data, a bare git repo
added lot of tests and squashed bugs

the transaction data manager is currently untested, since I don't have a
clou how to test it in context with the transaction manager