Create interface for registitering handlers for url