All stylecop warnings fixed