Moved registering of stylesheets & scripts into initialise() method

This is so $dir & $uri properties are available