create Adapter for database