Modified to use API v2 and fixed TimeStamp issue
Merge pull request #4 from RitwikGupta/master

Modified to use API v2 and fixed TimeStamp issue