added the base controllers and views for the main resources.