Added events and made them work. Sthill missing deleting and editing though. Im sick, ill do it later :P. Also new sql