Start refactoring of playlist support

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>