WIP commit - tests passing, not properly exporting FMD in the main file though