support which and class name resovler
Added support for tags, importing
fix import functions