add namespace support for dependency model
stabilize and added tests