From Controllers to Contracts: A Guide to Transitioning from MVC to Solidity