First implementation of the UI