made all classes close connetcion and statement after using
committed to pull