Implementation of routes registration functionality