Remote Servo Control with Adafruit CC3000

Very good tutorial!

Now I am trying to use this code within my automatic cat feeder project.
I have a LCD, Realtime clock and a servo. Shouldn’t be to difficult but I can’t put it in the main loop right?
Right now the LCD uses a delay to not constantly print but when migration I cant seem to figure out how to design the code segments. I want to also use the realtime clock for using the time to set the servo. (and not an online time) because the cat feeder should be connection failure save (When internet breaks down)

See my code here:

What is the best approach to integrate the LCD, Real time Clock and the servo within this code?