Changed build system from ant to maven