REST initial commit
add api route handlers to route initializer. fix minor errors
setup rest tests infrastructure
Add tests
fix routes property
merge rest-develop to develop