Implemented playlist factory.