added module target and filters
started adding logic for glue code factory, but still long way to finish. require refactoring and rethinking