Rewritten api, new example page