Code simplification

Add cleaner interfaces and get rid of unnecessary complexity in HTTP
API requests management.