finished simple TCP reliant MongoDB for clams and boxes