added basic functionality for weightlifting state and rep counter