Add some constants in model.

Signed-off-by: Pengcheng Bian <pbian@actuate.com>
Support dynamic number of namespaces.

Signed-off-by: Pengcheng Bian <pbian@actuate.com>
Merge pull request #59 from TerryPCBian/master

Code Enhanchement