migrated views into Rails, added local photo publishing