created tools.js and started refactor on app's stepLoop
reindented tools.js
first running version - tools aren't used at all