backend python scripts to create and load database