Cleaned up initDB, layed out skeleton of toDoPM