refactored a lot of code please have a look at it and learn what I structurally changed. especially I shortend the way of making an http request