Splitted the types into another file