Added different types of controllers for Threads and Game Loop