Deprecate init function.

1. deprecate init function in dogo.proc.
2. add a test folder/package for test work.