REF: csrf to modular style in
FEA: capture csrf exceptions
FEA: better ui for products distributors selection
FEA: materials distributors selection
REF: bye bye pp
REF: materials sql methods to own file