Cleans code, fixes indent, alignement and a few comments.