Cleaned up compiler warnings.
Added pom.xml.