fixed some basic AI, removed dependency on ContactListnerImpl