tidy up code, got auto play mode to work, update readme
remove unused function