Adding invetory forms and changes invnetory controllers for function forms