Split OTFKS code into separate files.