restful urls and cleaned up routes files