refactor(api): rewrite code to handle ssh:// conversion
Created by: maxice8
this will allow us to better handle ssh://, we now use urllib.parse to get the schema, and we also handle http://
aside from that we also use negatice indices when filling up the project and user members