Fixed #1 : added db connection helper