added pom.xml for maven support
changed to orginal class and named author
reformat and optimized imports