Added own node for scheduler and fixed some compilation warnings