Making Static controller more robust against incorrect paths.
Adding style templating.