Code cleanup and renamed RegistryViewController to OrdersViewController.