Removed .idea directory. Scala code initially works