Rewriting asset pipeline

Adding support for jpg and png, and making adding new assets modular.