adding application to database ratio model and its implementation