moved searching and possiblemoves out of the GameState

added PendingEffects class
added const EVERYWHERE!