Move enums to its own file