cleaning the code , documenting and setting code standards