added: database and core layer init