fix: lazy initialize database

fixes #3