Add openDatabaseWithPath: method implementation