adding migration, model and controller for the pins
adding the controller and the routes