cleanup composer
add an interface for engines that read directories
implement and test new interface in mustache