Started on the asset minification

Basically just started building the asset management code.