Added Buffer Objects and Property Aliases

Put several functions (formatCode, getFuncs and handleProps) in
different files. Added buffer models. Added Containers constant. Added
processModels function. Added the basicWidget type.