adding google framework - wip, refactored some