Fixed bugs, created util class for saving kubus levels to files