Added id generator, fixed tempting, fixed attribute structure, changed some whitespace and added an example snippet for later