use version prefix on api url, goggle standard
added missing use statement and fixed class calls