run local function during initialization, not in the constructor.

execute local during the initialization() phase, not in the constructor. this allows me to pass a function into local which references a variable that is filled with data before i do the initialization.

also added intellij config files to gitignore.