Extracted devices type enum to a different file