Added Application\ArrayFilter to filter the array

The script works but needs to be beautified later.
The index.php is adjusted aswell.
Now all calls go via one function.