refactoring, config constants
pulled out window google lib as service