Copy and set all functions.

Moved boundary set class defs before functions.
Corrected spelling error and removed const
Starting to set up minimum working example