refactored according to wafflepool updates
refactor profitability script. added coinsolver