Feature/optimize

- Optimized build.
- Accepts AMD / Promise modules.
- Created nested structure from config options.
- Update core dependencies.