Basic AI system and pathfinding. This issue provides as a discussion for the current progress. AI is going to be mostly done by @LauriM.