Added local database setup