Final tidying
Big step forward towards modules

Have final compiled ks pre-minify working

Need to sort out a dev env now