Adding new file for shared functions e.g. query construction.