Restructured some base files in the COCore pack. Added more documentation.