removed test folder and and improved node rest end points