Store options in chrome.storage. Extract profile-dealing functions into a class.