Port configuration subsystem and use it to initialize the database