Add documentation and convenience hal stuff
Improved music code
Use melody code for music app