Use model to create new transaction instead of direct core_resource acce...

...ss