Refactor codes
Stop to use Sandbox Model
Add createDocIdMiddleware