moved the callService method into a separate python file to separate the ui from the database calls