generate scaffold.