Adding initial dependencies mapping

- Changed loader to one that tracks deps, uses loader for actual loading
- Added initial depedency storage, using local storage