feat(core): add a ready function that gets called once everything has loaded