ant build-api target for modders being able to build an easy-use API also some warning cleanups