Improved HTML view and moved API key to a separate config file