In my project I have a page component that have a lot of functions, is it necessary create a service or can I import my functions from another components when I need to use them