made Configuration class for specifying configuration setting for namespace serve()
removed exposed props for singleton and perdependency