Use singular for CPT name.
Add immature handling of logging.

This is more of a POC of getting and handling contents. In its current
form, this is insecure and not handling data properly.