creating logic package
creating AI class