Refactored firmware parsing and validation to a more object oriented approach.