using map instead of slice to make static routing rules faster & add methods to remove routing rules & rename some methods