changed lib structure
made external filter html template