adding AT coppied from sunstrike's fork
and buildfile modified from buildcrafts