Latest code from develop branch

Add playlist improvements, code refactoring, closes #174
Code refactoring and minor message notification change