move all the ews specific stuff to ews subpackage