Fixed some errors that were left in application.py... application server should actually run now too!