Modularizing the core. Working on autoupdate.