Coin valuation refactor

Moved valuation to the server and added historic data