Start your project with this Sample Application and ensure you're following the MVC pattern.