Move static files serving into a seperate module & enable extra para passing to handler.
Unittests updated.