added new class to have operations functions inherit from
added line count function