used styleCop

StyleCop has been used to make the code cleaner.