Update object creation to use api key instead of username.
Remove hardcoded api key and allow it be passed in.
Add ability to insert object definition instances.
Add test case for adding object definition instances.