Added basic scene-graphing; will improve on this later.