Restructured with wrapper in place of connection, need to revise everything.