added all the boilerplate code that was generated by the Rails generator.