move playlist creation and add_video stuff to the api controller