Staff functions revised. Site changed to use object classes for referencing table rows.