Mavenized project. Updated README. Bug fixes