Create class during upload of a new puppet module?

Problem:
Do not understand how to create/import a class into foreman

Expected outcome:
Able to create class too allow me to select a host and then select to install a package by associating a class to that host

Foreman and Proxy versions:
foreman 1.20

Other relevant data:
Is it possible to create a class by placing the information about the new class in the manifest so that when I upload the puppet module the class will import as well?

anybody?

I was wrong about the version but here it is

[root@ussl-foreman ~]# rpm -qa|grep -E “^foreman-1|^foreman-proxy-1”
foreman-1.17.4-1.el7.noarch
foreman-proxy-1.17.4-1.el7.noarch