Added various methods to interact with the database
Added methods to extract specific data types