refactored the google code to its own class

Signed-off-by: guymoller <guy.moller@gmail.com>