Added SQLite to save the downloaded videos.
Refactored some methods.
Still to implement download in separate tab.