Refactored bundling and minification. Using records instead of a map of files for extensibility.