consistency check added to load function
.gitinore file renamed to .gitignore