Merge pull request #272 from afrjorge/require-js

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