make more dry
make the number of connections a field
add readme