updated code for standards mode and added .gitignore