Updated html and css to use collection class instead of resources class