Added music support.
Moved some java classes to scala, only one java class left.