Merge Core and Foundation into one module, consolidate Transformers