Fixed google API code, begin PHP work, fix validation