refactor Main class name and add Ant script