Koenkk/xbian — pull request #19 by Hexagon (2012-11-05 17:28:16+00:00)
Title: It's splitted

And added some comments, have tested most functions, and the rest should work as i made no significant changes to the main code (just some commentary).