refactored classes into separate files for better organization, split mathematical functions and algorithms out to a separate library for easier optimization later.
rewrote Anki flashcard hooks that got broken after the move to Qt; made a stub event system that does literally nothing at the moment