Update the Connection class with bootstrap and constructor