created connection class, need to add button listeners.