cleaned up level builder (can share now too, maybe)