mkplaylist rewritten using oop :)