refactoring the loading script, started writing build HTML script
styles in external file