Removed most BTC stuff from the build system. Also removed most files whose only purpose was to facilitate BTC mining.