first working api skeleton and git update script fixes