rename root resource to rootfactory
add content-disposition header when serving files
add mimetype, work on ui