Trying to separate functions to other files