Fix main function
Add HTTP client library