refactor of files
added minified version