Initialize repository.
Create the GUI and some methods.