StyleCop editing

I've made some changes so that style cop doesn't give any errors (
except Documentation errors )