Moved Node class to a seperate file

Signed-off-by: Exikle <dixondcunha@hotmail.com>