refactored elliptic curve isogeny classes to use their own class