refactor
refactored: moved db into one module. fix typo
refactored: added modules