Documentation and demo for M12.Foundation package