adding comments
added getCodeType (String) to line object