Refactored persistence to conform more the vert.x paradigm