Refactor settings.
Refactor preferences.
Change gradle module names.