minor fix
+implemented config reading and writing
+added a generic extension filter