add Gadget#index functionality, add association, fix specs