Refactored serializer to handle all input types, but only one at a time. Refactored validation class to only return true of false. Encapsulated input types.