Make ayah optional and fix search.php

Since it requires users to set the keys in the config file, I made ayah optional so user can actually test it without needing to get keys and stuff.