Moved project layout to maven
The layout is changed to maven, dependencies are resolved by mvn.
Added testing lib junit 4 and mockito.