add DB basic. need to fix init process