Thoughts implemented

All CRUD functions for thoughts implemented. Updated views and
stylesheets to reflect these additions.