cleans up class files