Adds Role Api Routes to global api routes
Adds Route Api tests
updates shared variables when update api routes is tested