A lot of DB stuff
Retrieve calls from the database