initialise main & css