DB classes for node JS