Added comments, added simple AI mod