Base code for the CubeSat Controller