Cleaned up mdown_to_book class