Thank you @arthurmarcal for your amazing reply.
It’s quite difficult indeed, especially without a proper documentation for such use cases as well.
Could you please show a simple implementation for your solution so that i can get an idea how i could implement this as well.