Add docs. Update schema to break into separate files and rename some elements.