Addded the tools -index and -create with the model, controller and database