Be it further enacted, That the Mayor and Aldermen shall provide for a safe and suitable jail or guard-house for the keeping and detention of all City prisoners and convicts, and the City marshal shall be the jailer and custodian of the same.