Integrated database with controller