Move Mininote class into its own module