Move health_check into rails