Refactoring of initial search template implementation

* Mapped to search template endpoint
* Class/method renaming and folder structuring
* Unit tests to demonstrate syntax