modularizing config and style load