Loading relevant database tables