Updated build.xml to support API folder