Changes to manageDB merging function

Code not functional. Started to fix the merging function but didn't
finished.
Merge branch 'master' of https://github.com/verovaleros/bluedriving