Removed MyFaces dependencies and refactored form generation controller.