OOP final version - odometeroop class and mainoop class