insert transaction
add find method from model
refactoring models