suuport for AMD and CommonJS
move components
add a few tests
grunt