passing the world as a parameter to the AIInput
added astar libs
added update method to InputSource