Make model DSL. Rewrite models