Clean code. Make static files available.
Simplify overall logic.