Reviewed code and introduced several fixes
Multiple fixes and additions of helper methods
Api struct and utilities to handle urls