New lib folder structure

Migrated arch files and modules for basic component framework. Only the
bare essential modules are included on this commit and some may need to
be added or removed later. All orginal require paths have been updated
to this new path structure.