Simple upload class with validation