Added enum-guards, and a string guard

Added files for enum-guards, and added a string guard