Merge pull request #14 from hrovira/master

integrated google APIs and fixed authentication logic
fixed options usage