Absent an order of custody to the contrary, custody of a child born out of wedlock is with the mother.
T.C.A. § 36-2-303