make app and db object availabalein different modules