Reorganised files and included schemata files from metafacture-core.

This commit makes changes to turn the files extracted from
metafacture-core into a working project again.