name imports at parse time and allow transformation. plus some refactoring
add umd tests