added and configured stylecop and cleaned code according to the rules
added a Resource service and used it in MainViewModel