Split up functions, structs and constants into separate classes.