Move extension code into a sub-folder.
Split files up, start encapsulating logic.
Remove jQuery dependency from popup