Programmed integration test and refactored Controll-class.