change to mvc
remove leagcy