Basic service container class for dependency injection in Ruby.