Added edit template
Added save method
Added view code