Added initial design for Duel and refactored existing controllers