Squashed commit of the following:

commit 7e64feb7614afe10e5dce20201970e87d3aa4030
Author: Tomsik68 <tomsik68@gmail.com>
Date:   Wed Apr 17 14:27:45 2013 +0200

    Create the gh-pages branch
Finally created something that actually works! Layers are now functional :)
Merge branch 'gh-pages'
Added input I missed & structure parsing code