Added working time in status line and refactor classes.