mapper to structured
follow structured
remove old src
clean index
clean and finalise flat route
move test cases inclusion to related src
clean + use Internal error
add todo in stater
work on todo
documentation update