add engine functions:
	handle event
	swap_back_nodes
	update_back_nodes
	render_front_nodes
	swap_framebuffer