Sorted person and todo collections. Added CORS support.