Allow for nested module direcotries
string to nested object