sites - more work on new interface

Moving functions over to the new extension and upgrading to delegated
events.