Convert to Maven build

Tests pass on my system. Will require a re-import into Eclipse for you, most likely.