Converted from an ant-based project to a maven-based project

It's still a bit yucky; it relies on hard-coded paths in the POM to be edited,
but hopefully I can clean this up later.