Folder structure refactoring. Introducing distr model.