Created local messages database handler.