Edit

Added edit.erb, cleaned up some other code.