Getting the connection function all in order. Still not a proper library
yet though.