Completely wrote the 4sq API part.