Add typeclasses for elliptic curve framework
Fix formatting in Number and Bits