add support for static files and logging