fix bug in parsing variants of bump map
move render method to its own file
fix static cube object
remove debugging messages