Added connect example, fixed simple example, better layout for connect.