fixing some function.
add form and controller to simple-inventory.
fixing some function.