Added StyleCop integration and fixed violations