[WIP] Extract static files.

This is the beginning of an attempt at #79, to extract the static files for the configured image.