Registry

I wish to resolve #5 with this pull request.

All the registered factories are into the ```registry``` class variable of ```FactoryGroup```