Core changes and creation of module system.