Changed MethodDictionary for Dictionary. Created Abstract Endpoint class.