Add Codes : Connect to API, Main GUI