unused imports
init junit mvn dependency
some errors detected by writing tests
add some basic Tests as usage doc