Added code that allows cross-domain requests. Schemas cut into separated file. Added comments into API instruction.