Fix DAO a bit, add template listing page