Setup database access and initial schema