generate scaffold for books