Structered the basic programm