Create source **updated**

code has been updated to use regular expressions for error checking when creating a new class