Refactoring the ObjParser