set cache-control header on static resources
various cleanups
release 0.3