Support CORS

refactor folder structure
support CORS