create imp.py

it works but not completed yet.