updated controllers, models, views, and javascript to get editors working