Feature Request: directory as dependency (#12)

implementation completed