intermediarios table and its relations
form for intermediarios
refactoring code and merge in intermediarios branch