made transaction model, total price now works , gui needs updating