moved some files form achartengine branch that are needed here also