Started AI integration. Addresses #7.
Removed all the warnings during the compilation. Closes #43