FLOE-116: Switched to using dynamic components.

The resourceInputs are now added as dynamic components. This is just feature complete with what had been there. No new features to add/remove resourceInputs were added yet.The unit tests were updated to work with the dynamic components.