remapped lowest level of syntax

keywords for directions replaced
keywords for current condition replaced
tested and worked for empty API Scala file