WAS Server

Changes to WAS server now that we're removing the Flask dependency...