Got xdomain working. File upload, lesson creation, everything.