refactor code: stop using object pointers/split laptimer and timers