Bug fix and added some logging information
Abstracted the key a little more so that there is a class that can be used for points on an elliptic curve