changed structure to Maven project. added first unit test