Code rewrite with objects
Timer UI rework