Reparented pom.xml and added documentation throughout