implementing gondola's resource management system
initial commit of graphics backend overhaul