Fragment the second

I was thinking about how it's possible to realize fragments with selophane. 
As a result I only have to made some small changes at the element factory. Reducing  redundant code, reduce the type which is needed and give the initialized object back.