Update schedule creation process to rely on database versus an object model.

Note: the app compiles and runs, but is not functional at this point.

The goal of this commit was to remove the need to rely on an in-memory object model because all the data is getting saved to the database anyway. There are some areas during schedule creation that could no doubt be rewritten better, but the next goal is to get the app back into a usable state.