Added API logger and CORS support for documentation