changed java version to 1.7
refactored to add transactions to graph reads