Implemented a simple load db mechanism