load database locally