remake the levels architecture