Move API libs and API example into their own git repos