Add real modules to runtime and corelib (fixes #344)