Home made routing library