abstract system class, testing for linux/windows classes