I see this is more of a project than a library, you should really turn it into a library instead. Well, fpc already has google API support as library, if you need some inspiration. They're generated rather than handcoded, though.