re-organized directories; added encoding pipeline