Added sphinx dependencies
Refactored searches controller