Style changes. Added JetBrains annotations and using final variables as much as possible. refs #405