adding addSmiley and updateLineCount to lineService