Refactoring on controllers, add am_generic controller and two specific contollers (analito, calibrador)