Implemented play / stop button. Some refactor.