added sass and refactored code accordingly