Maint add forgeapi stub

fixed spec tests and rebased to current.