split controllers into classes