imported api work that was mistakenly done on branch 5
scraping glass
modified the server according to the new json structure