Updated form handler to persist input values after error. Updated the name sort method in sort handler. Added method to register class to get next available start number.