Moved code to package lonelib; added maven pom; remove test package