Work on param validation and framework structure