Refactored Mvc4 support code into separate class library.