add pyc to gitignore
add framework for generating smap sources