Remove unnecessary index variables
Make CLI into class, create math24 executable