Started gui abstraction. Extracted logic gui interfaces.