got loading from online working, still working on table saving and laoding
fixed loading from http, added teams table and separated everything into functions