changed various namings to make the gem work with Passenger