My personal API Connection class