refactoring buttons component and mixins. New  global variable that can be set to 'flat' for flat buttons