The scene manager runs and register events