Generated votes resource, added business logic, customize views a bit.