Moved, Connection class to Data namespace and added various methods.