request table added

device table now has a foreign key for the request id