refactor: move package.
refactor: rename error code.
create module: initdb file.
Merge pull request #572 from forumbyr/master

refactor.