Partial implementation of mezuro_configuration fork

Refactored fork logic from the controller to the model
Missing: Range fork, tests

signed-off-by: Pedro Scocco <pedroscocco@gmail.com>