Datatables now working and ajaxy stuff for getting components inserted. Needs refining.