Generalized creation and moved it to cybercoach_resource.