adding further functionalities

DynamicHardwareModules
- Adding generation of hardware architecture inputs/outputs
- Changing the example code to fit the new API
- Changing the hardware definition to add dyamic region to tests