Functions to interact with the shell for controlling player
Added Ring JSON middleware