add ant build file, remove smarty from configuration.