[task] Add the interface of OpenAccount and reduce some useless files under db dir