Replace all occurance of 'type' and 'var' to 'vtype' and 'variable' because both 'type' and 'var' are reserved words of Scala