Added the databse adapter