Basic loop class and timer completed