comments + clear code

added comments on all my classes , also reformatted some of the code