Refactoring and added suspend, resume, reboot and nodeinfo Mojos