developing book class + more modularization