simply copy everything from wp8 first
update project GUID
copy to new project UMSAgentWin8
compile with win8 by doing
1. replace IsolatedStorageSettings with LocalSettings
2. remove exception file saving
3. remove on crash handler
4. remove new version check
5. remove mobile device info retrieval
6. replace Thread with ThreadPool.RunAsync