Setting up routes, view for candidate details, and animation