Added config + search support

NEEDS REFACTORING!!!
Added config + search support. It will also guess what you meant if you
mis-spell something.