I believe this thread can be helpful:
- Roomy library is specifically created to manage scenes
- Folks give some good examples of custom code to manage scenes here
If you are looking for a more comprehensive solution, I suggest you to try Noble Engine. I personally never used Noble Engine, but judging from its description, it may help you with scene management as well as other things.