Merge pull request #326 from afrjorge/require-js

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