Update API for schema changes.

Methods are currently untested. Just getting the class free of errors.
The build is also currently broken because references to this class need
updated.

Next steps:
1) Change ProgramEntry.cs to Program.cs
2) Update references to Program.cs
3) Look for any remaining necessary changes to the API
4) Update API tests
5) Update other API references