Set up buses. Got input and output working