New structure of the code and documentation