Refactor GoogleEngine