Add a filter factory, so people can use FilterFactory instead of definin...

...g the path to the scripts instace. Thank you v2 thoughts of @pmjones
i think this indenting is wrong