fix(database): implement lazy initialization for database engine 4e91d62 anderson-ufrj commited on Oct 7