Handling concurrent db connections in a more efficient way
some refactorings