move d/l dir creator into lib
add travis