add .settings to git ignore
refactor constants name and add comments