fixed minor bugs, added training mode
added flats, added naturals, moved utils to noteutils