beggining of the routing plugin