Made PingApi a singleton class. Fixed .gitignore