[Core] Add some documentation here and there, add some todos aswell to get the code more readable in the future. Also remove a unused function for spell stealing