Adding FxEntry class and purcahse/score functions