Fix Bugs
1.use RE to parse XML tag text
2.use sqlite3 to manage device
3.add OS check to ensure cross-platform working fine