Converted to AMD of decks, levels, gameFactory, levelManager
Converted to AMD of layout