Updated and prepared schemas. Updated documentation and fixed errors.