Initial commit. Ad object sketched, some test functions added. Very simple db function created.