Refactoring to makethe definition of hardware portable in all code in the system. Package "definition" created