Initial commit of the controller and decoder