move basic py files into Generic lib package