Tidied up repo, Added comments and added ability to tie to docuemnt types and media, and content items with there children