Fixed API call 404
HTML restructure
Added API response error base class