Added inventroy management pages
Removed debug code from update nass/stas scripts.
Fixed template for objects so that drawForm function include the name as the first parameter.