- Fix bug: setting cleaning task period didn't work. - Use collection framework. - Fix code formatting