Main method to load db from home dir