Moved all the core extension stuff into src.