refactoring and adding support for sprite & sass