Refactored controllers to prototypes
Ajax save working
Destroy action working and back button working