Refactoring entity to struct for internal representation. Cleaning
process-attribute code.