compile errors fixed and added a test harness
added pom