Mining code is now located in a separate class
Had to restructure alot of the code to support this and try to make it
clean at the same time.
Settings now support selecting different hosts to obtain api data from,
this is still in the works.