added API draft, minor layout changes