move away google api in a library project