Hartlepool have appointed Colin Cooper as their new manager after the sacking of John Hughes earlier this month.