Use model to create new transaction instead of direct core_resource access
Merge pull request #1 from VicDeo/use-model

Use model to create new transaction instead of direct core_resource access