Changed path from conf to etc
Removed reference to non-existent class
Moved registration of stream wrappers into separate method