Revamp microsites API

@cdodge can you take a look?