moving to separate Mvc class