Implemented play/pause (controller action only). Added queues for communication between the two layers, getting rid of some globals.