Start modularization of lang system
Remove weak references and freshtype factory