New school replaces dangerous mud structure