init api part code
Merge branch 'dev' of github.com:iCycling/iCycling into dev