added basic AI class