Begin porting endpoints to new framework module

Updates inclusions of classes and the initialization of the WSGI
instance, albeit not functional yet.