Drivetrain and brakes for mountain bikes