First pass at actually building CML.
Move metadata into embedded MODS and fix code standards.