Added Category editing functionality.
Refactored transient object creation.