Create a seperate class for a Node and refactor existing code
Import the converter moduel in __init__.py and refactor accordingly