Created main class multithreaded structure

There are now three primary threads: a data thread, a logic thread, and
a motor thread. This setup will simplify the coding process by making
the objects more abstract.