Extract Inmate class into a separate module