restructed db and mod algo
Merge branch 'master' of https://github.com/PragyanPL/ppl