Fixes deprecated variable definition
Adds intellij .idea and build file