Block class (properties and methods, their types) is added, and method of extraction blocks is written