added support for pip, put examples in one file