added cors model for dynamic cors settings
Merge pull request #27 from variable/cors_model

added cors model for dynamic cors settings