Moved over datatypes items from 3.4.

Will go over old code but much of it will probably stay. Currently
working on code gen and AOP items, which will be moved into DataTypes.