added sleep timer
implemented parsing
built class