Connection class + api + various