Extracted AiRelations class to separate file
Simplified canbuild in village
Splitted main AI tick into submethods