RefineData implemented (improvements possible)

Also added empty methods dedicated to calculating profit (todo)