Added pyc to gitignore
Added python2 compatibility. Refresh documentation