Application-global DB connection

Instead of connecting to DB on each request, we can make it global