added uncss and started refactoring code, but very incomplete, simply checking this in for reference.