Add ability to establish db connection outside rack