Added map gen, ai module