add scope to transactions for proper ordering
add edit and delete transaction and refactor routes