added phpStorm config dir to gitignore
Changed some variable names and added DocComments.