Fork of thierryreding's kmscube (https://gitorious.org/thierryreding/kmscube)