Rewrote Sandwich renderer, added some API stuff