basic structure and test setup
Merge pull request #10 from Blahah/basic_structure

basic structure and test setup (fix #2, #3)