Introduced circuits example and attendant fixes to the runtime