migrating the configuration and examples to demo server project