Added clean function, removes 30 min old data