Applied MVC Structure

Applied basic MVC structure.