Adding a db connection as an application component