Jm/expose up

This is the work to refactor most of the rake madness into an api class, move the ec-metal repo to being a gem and generally make things work.
I noticed the API has print_environment, keygen, etc. Would it be better to have all the dependencies mapped out in the API and just call that?