feat(ngStub): change data structure of components

instead of a flat structure, components are now treated as nested resources of modules

Breaks anything that uses previous data structure