assets loading skins files
refactoring code