Fixed your approach i implemented it my way so u maybe wanna change some things.
- fixed your Type
- added dynamic MethodCration
- cleaner typedefs
- some consolelogs are in maybe some redundant const values
-but should be better than previous
playground