made arguments optional for pattern creation
closes #128
adds validation during pattern loading
closes #114
Merge pull request #147 from privateip/develop

Resolves issues #114, #128