deleted unused instance variables

commented unused format html
added rspec for methods: create, update ...