Api structure detection

Api detection plus cli stuff