Implementing Odata and Cors support