Code cleanup, refactoring, and updating

Also updated the header comments, added more sample tracks, updated the
readme, and added a license