Create function about Database. Stub.
Debug: Fixed a bug of forced termination when it launchs with token
missing.
Merge branch 'debug' into test