Complete PBAS with database.