Coins

I've cleaned up the BaseCoin definition and fixed some import errors. I've also done some other cleanup work in this PR as well.