debug comments edited + fix routes functions. The now use next callbacks.