Improved template rendering; extended Project and Invoice classes using categories for better invoices.