added create route and test and changed to more rest like routes