moves catalogue loading and searching functions into a service
fixes directory mispelling
Merge pull request #15 from FilWisher/refactoring

Refactoring