Build you route API with an interface