Added a bunch of logic ICs. Famous lats words: Untested, but should work.