BookFormatter refactored; AlignmentController added