base controllers and views added.  some restructuring.