install fixed, C++ incompatibility fixed, gitignore file added

Do you think there may be other places where the keyword 'class' has been used as a variable name?
I did not check everything yet.