renamed: models/Atm.js -> lib/atm.js
WIP: validate entities before DB insertion