reused general controllers and views from other apps, removed irrelevant portions