add setup.py
element factory
.gitignore
check doctests