Finished implementing all of the base control circuitry