complete refactoring

Decided to use the API instead of scrapping the website this time.