Completed thead tests.
Implementing the filter and service components.