Tons and tons

View/Controller changes. Referencing $this now works in the views.
Extended table-class for obj->table architecture.