Extracted PasswordModel and Randomizer interface in preparation for unit testing. Made password field editable, and made it update the length text and slider.