Fixed the compilation errors, added logback and simplified the POM.