restructure: create files for each filter and directive