make database libs to be peer dependencies