[CDF-331] - Create a module for each component

	- Minor bug fixes in component modules
[CDF-332] - Make samples run against require modules
	- Minor bug fixes in legacy samples
	- Created samples using require modules