Update Test to properly use EntityFactory.
Add a build file for the ant build system.