add static serving support