added sass support, refactored