Externalize queries and connectionStrin