cleaned code by removing style's and improve details commented in github