Added static method of creating Data class