Implemented main functionality - event listeners + simplified time tracking