added pause, start, reset; removed tabs; flexible container now; moved functions in private scope;