Migrated code from UWCenterStack

Has not been tested on Linux yet