Initial Code for Cleaning and Classification