Change account type naming.
Remove unused API resource code.
Refactor connection detector.
Add proper closing for download information cursor.