added some css styling and class association

- added css styling for decoration
- implemented class association
- still got some error if I deleted the "events" and recreate a new
one, the database didn't reorder the index, so I need to reset the
database by using this code rake db:reset