added generic pywrap function, so that @pyimport's module import is done at runtime rather than parse time, and pyinitialize is now automatic