simplified constants mvc code (removed some of them)