Forgot to add PlaybackTemplate class for last commit. 
Tidied up some of the code also.