Code Enhanchement

1. Add some constants in model
2. Support dynamic number of namespaces.