Connected database and setup