Prepare controllers