implement sample data service, add filter

filter updated to use filterBy, sample data extracted to a service for
future use