More initialization functionality

working on reading the database files.