easy start demo server

- Fixed some issues relating to namespace package
- Added console script entry point
- Added config in `demo` directory