Implemented route generation closes #18