First commit. All changes current up to 18 Dec 2013. Will keep these here as backup while I play with them locally.