Added method for initialising database in a directory
Added method for initialising Table with a new json file
Refactor codee
resolve merge conflicts