Added support for course modification/deletion

Added first version of support for course modification and
course deletion. The course selection page is also integrated
into the database now. Added constructors that create different
types of pages based on the value passed, which may break some
functionality elsewhere.