Part A implements a Real-Time Operating System (RTOS) with an Arduino microcontroller. Part B implements a RTOS with a Binary Counter.
Made Order Advisor (MOA) is published under the MIT Licence.
The best place to start is by reviewing the documentation available from the Project Wiki