cleaned up edit, app view and rake task automation