Moving the guts of the registerExtension method into an internal method in order to prepare for an async version. Starting to add extension related values to the yap2 table.