Refactoring windows store app dll