Added sentence generation for definitions and fixed ALL CRAPPY coding style