Added cache code to models
Fixed playlist create action