Improve url of files and improve controllers