created transaction model and controller and views