Merge pull request #304 from afrjorge/require-js

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