added database setup and access script