Upgraded the layna village scripts to the new API.

I also streamlined the way sound object are registered and did some cleanup.