Moved contexts from MageContext into domain specific context classes