move imports to functions
add files for python setuptools