Created reference table. As well as insert, query, and delete methods