Started the hat class