getNodeById
classes refactored
added init