Creating playlist and track directives