Added filestructure for CAS v3 API, templating