finish keyword search function and yml load function