Yes of course. But I'm far from beeing good at reading code. And this one looks to me quite complicated as it is coded in an object programming manner.
I'm very unconfortable with all these classes things.
Where the comments that say "// TODO:" put in the code for UP, DOWN, and STOP. That will depend on your motor and driver. Look for motor driver examples.
It is currently set for shutters that take 30 seconds to go up and 45 seconds to go down. Measure your up and down times and edit these two lines:
const unsigned long upCourseTime = 30 * 1000;
const unsigned long downCourseTime = 45 * 1000;