More getters from the module class for ai

also fixed a error  with ai